import React,{useEffect} from 'react'
import { getLogin } from '../../util/api'
interface Props {
    
}

const Index = (props: Props) => {
    useEffect(() => {
    (async function(){
        var res=(await getLogin({username:"user"})).data
        console.log(res);
        
    })()
    }, [])
    return (
        <div>
            1111
        </div>
    )
}

export default Index
